package com.zmovie.framework.mapper;

import com.zmovie.framework.domain.Movie;
import com.zmovie.framework.domain.MovieRate;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zmovie.framework.domain.dto.MovieRateDTO;

import java.util.List;

/**
* @author lenovo
* @description 针对表【movie_rate】的数据库操作Mapper
* @createDate 2023-11-30 12:27:42
* @Entity com.zmovie.framework.domain.MovieRate
*/
public interface MovieRateMapper extends BaseMapper<MovieRate> {
    /**
     * 根据评分取
     * @param cnt 前cnt个
     */
    List<MovieRateDTO> listTop(Integer cnt);
}




